package datastructure.ch08_bst.ch03_bst_base;

import datastructure.ch08_bst.ch01_tree_base.node.TreeNode;

/**
 * 
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
public class BinarySearchTree<E> {
    /**
     * 属性描述：数量
     */
    private Integer size;

    private TreeNode<E> root;

    public int size() {
        return size;
    }

    public boolean isEmpty() {
        return size == 0;
    }
}
